Vue.component('grandson', {
  props: ['title'],

  template: `
    <h2>grandson {{title}}</h2>
  `,

  mounted() {
    console.log('grandson mounted.')
  },

  updated() {
    console.log('grandson updated.')
  },
})